<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <title>用户列表</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <!-- Bootstrap core CSS -->
    <link th:href="@{css/bootstrap.min.css}" rel="stylesheet" />
    <link th:href="@{css/success.css}" rel="stylesheet" />


</head>
<body>


        <table class="table table-bordered table-hover">

            <tr >
                <th align="center" style="color: red" colspan="3" th:text="${code}"></th>
            </tr>
            <tr class="warning">
                <th>序号</th>
                <th>用户名</th>
                <th>电话</th>
            </tr>

            <tr  th:each="user,userStat : ${userList}">
                <td th:text="${userStat.count}">yes</td>
                <td th:text="${user.userName}"></td>
                <td th:text="${user.phone}"></td>


            </tr>
        </table>




</body>
</html>